|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectj3deditor.bin.util.Utilities
public class Utilities
Central module that initializes and manages tools needed by various classes.
| Field Summary | |
|---|---|
static java.lang.String |
compressedData
path of the compressed data directory inside the applications JAR file. |
static java.lang.String |
defaultData
path of the default data directory inside the applications JAR file. |
static HierarchyManager |
hierarchy
Object that manages hierarchy. |
static ImageLoader |
image
an instance of ImageLoader. |
static java.lang.String |
mainData
path of the main data directory inside the applications JAR file. |
static Messaging |
out
an instance of Messaging. |
static java.lang.String |
threeDData
path of the 3d data directory inside the applications JAR file. |
static Translator |
translator
an instance of Translator. |
static UserData |
userdata
an instance of UserData. |
static Utilities |
util
an instance of Utilities. |
| Constructor Summary | |
|---|---|
Utilities(StartUp start)
Creates an instance of Utilities
and initializes all tools. |
|
| Method Summary | |
|---|---|
void |
extractZipResources(java.lang.String filePath,
java.lang.String destPath)
Extracts zipped resources from the applications JAR file to the given directory. |
java.io.InputStream |
getResource(java.lang.String path)
Returns the stream of the given resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String mainData
public static final java.lang.String defaultData
public static final java.lang.String compressedData
public static final java.lang.String threeDData
public static Utilities util
Utilities.
public static Messaging out
Messaging.
public static ImageLoader image
ImageLoader.
public static UserData userdata
UserData.
public static Translator translator
Translator.
public static HierarchyManager hierarchy
| Constructor Detail |
|---|
public Utilities(StartUp start)
Utilities
and initializes all tools.
start - reference to the splash-screen component created by main entry point| Method Detail |
|---|
public java.io.InputStream getResource(java.lang.String path)
path - path of the resource
public void extractZipResources(java.lang.String filePath,
java.lang.String destPath)
filePath - ZIP file inside the applications JAR filedestPath - destination directory
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||